package com.result;

/**
 * <p>
 * Use to handle actions result
 * </p>
 * 
 * @author Guillermo
 * 
 */

public class Result {

	boolean success = false;

	long errorCode;

	String message;

	int messageId;

	public Result() {
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public long getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(long errorCode) {
		this.errorCode = errorCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getMessageId() {
		return messageId;
	}

	public void setMessageId(int messageId) {
		this.messageId = messageId;
	}

}
